Warning: password_verify() expects parameter 2 to be string, array given in

116

<?php

$password = "Hello";
$hash = password_hash($password, PASSWORD_DEFAULT);
echo $hash;

var_dump(password_verify("Hello", $hash));

?>

Comments

Submit
0 Comments